package com.bjpowernode.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication  //开启spring配置
@ServletComponentScan(basePackages = "com.bjpowernode.springboot.servlet") //开启servlet配置，扫描servlet的注解
public class Ch17SpringbootServlet1Application {

	public static void main(String[] args) {
		SpringApplication.run(Ch17SpringbootServlet1Application.class, args);
	}

}
